package com.twang.stock.common;

public class CommonUtils {
    static String TASK = "TASK--";
    //成功
    public static String SUCCESS_MESSAGE = "执行成功！";
    //失败
    public static String FAILE_MESSAGE = "执行失败 error=";

    public static String TASK_NAME_RULE_1 = TASK + "更新今日数据";

    public static String TASK_NAME_RULE_2 = TASK + "更新五日、十日数据";

    public static String TASK_NAME_RULE_3 = TASK + "主力资金流入";

    public static String TASK_NAME_RULE_4 = TASK + "概念板块强度";

    public static String TASK_NAME_RULE_5 = TASK + "监控关注个股动态";

    public static String TASK_NAME_RULE_6 = TASK + "监控板块个股异动";


    public static String RULE_1 = "分时异动";
    public static String RULE_EXCEPTION = "ERROR";

    public static String RULE_2 = "人气飙升";

    public static String RULE_SUCCESS = "SUCCESS";

    public static String RULE_3 = "今日异常";

    //热点
    public static String DUAN_XIAN_BAO_TYPE_HOT = "1";
    //非热点
    public static String DUAN_XIAN_BAO_TYPE = "0";


    //热点-根据热门板块分析
    public static String DUAN_XIAN_BAO_RULE_HOT_TAG = "HOT_TAG";

    /**
     *    根据规则选出-rule-1：
     *    SELECT * FROM  company_code_info  WHERE  buy_or_sell = '买入' AND trend_type_name = '强势上升' AND strong_rise > 2 AND weight >5000 ORDER BY strong_rise_vol DESC
     */
    public static String DUAN_XIAN_BAO_RULE_1= "RULE—1";

    /**
     *    根据规则选出-rule-2：
     *   SELECT * from company_code_info where weight>2000 and strong_rise in('1') and strong_rise_vol in ('1') and buy_or_sell='买入'  and trend_type_name not in ('强势下跌','震荡下跌') ORDER BY strong_rise DESC
     */
    public static String DUAN_XIAN_BAO_RULE_2= "RULE—2";

    //
    public static String DUAN_XIAN_BAO_QIN_XU_ZHI_SHU_LEVEL_1= "躺赚";


    public static String DUAN_XIAN_BAO_QIN_XU_ZHI_SHU_LEVEL_2= "赚钱";


    public static String DUAN_XIAN_BAO_QIN_XU_ZHI_SHU_LEVEL_3= "不赚不亏";


    public static String DUAN_XIAN_BAO_QIN_XU_ZHI_SHU_LEVEL_4= "亏钱概率大";


    public static String DUAN_XIAN_BAO_QIN_XU_ZHI_SHU_LEVEL_5= "爆亏";

}
